﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Common
{
    public class SLBaseUserControl : System.Windows.Controls.UserControl
    {
        public DownloadStringCompletedEventHandler downloadStringCompleted;
        public UploadStringCompletedEventHandler uploadStringCompleted;

        public SLBaseUserControl()
        {            
            downloadStringCompleted += new DownloadStringCompletedEventHandler(webClient_DownloadStringCompleted);
            uploadStringCompleted += new UploadStringCompletedEventHandler(webClient_UploadStringCompleted);
        }

        protected virtual void webClient_DownloadStringCompleted(object sender, DownloadStringCompletedEventArgs e)
        {
        }

        protected virtual void webClient_UploadStringCompleted(object sender, UploadStringCompletedEventArgs e)
        {
        }
    }
}
